package com.cyz.user.userService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cyz.common.bean.User;
import com.cyz.common.dto.ShopDto;
import com.cyz.common.dto.UserDto;
import com.cyz.user.dto.UserPasswordDto;
import com.cyz.common.utils.R;

/**
* @author 34928
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2023-02-22 10:58:38
*/
public interface User_UserService extends IService<User> {

    String getAvatarById(Integer id);

    R toRegister(UserDto userDto);

    R updateUser(UserDto userDto);

    R logout();

    R queryMyShop();

    R addMyShop(ShopDto shopDto);

    R login(UserDto userDto);

    R queryUserMsg();

    R updateUserPassword(UserPasswordDto userPasswordDto);
}
